import Vue from "vue";

Vue.mixin({
    methods:{
        hasPerm(perm){
            let authority = this.$store.state.menu.permissions
            return  authority.indexOf(perm)>-1
        },

    }
})

